<ui:composition template="/templates/layout.xhtml"
     xmlns="http://www.w3.org/1999/xhtml"
     xmlns:f="http://java.sun.com/jsf/core"
     xmlns:h="http://java.sun.com/jsf/html"
     xmlns:ui="http://java.sun.com/jsf/facelets"
     xmlns:p="http://primefaces.org/ui">
      <ui:define name="content">
      
      
<h:form enctype="multipart/form-data">
<p:panel header="Anexar documentos" style="margin-top: 30px;margin-left:25%; width:500px">
		<p:panelGrid columns="2">
		
	    <p:outputLabel for="ano" value="Ano: " />
		<p:selectOneMenu id="ano" value="#{projetoBean.projetoMonitoria.ano}">
            <f:selectItem itemLabel="Selecione" itemValue="" /> 
            <f:selectItems value="#{projetoBean.anos}" var="ano" itemLabel="#{ano.descricao}" itemValue="#{ano}" />  
        </p:selectOneMenu>	
	
	    <p:outputLabel for="periodo" value="Período: " />
		<p:selectOneMenu id="periodo" value="#{projetoBean.projetoMonitoria.periodo}">
            <f:selectItem itemLabel="Selecione" itemValue="" /> 
            <f:selectItems value="#{projetoBean.periodos}" var="periodo" itemLabel="#{periodo.descricao}" itemValue="#{periodo}" />
        </p:selectOneMenu>
		<p:outputLabel for="disciplina" value="Disciplina :" />
        <p:selectOneMenu id="disciplina" value="#{projetoBean.projetoMonitoria.disciplina}">
            <f:selectItem itemLabel="Disciplina  1" itemValue="" />
            <f:selectItems value="#{projetoBean.disciplinas}" var="disciplina" itemLabel="#{disciplina.nome}" itemValue="#{disciplina}" /> 
        </p:selectOneMenu>
			
			  <p:outputLabel value="Formulário do projeto: "/>
			  <p:fileUpload value="#" mode="simple" disabled="true" />
		
		
		</p:panelGrid>  
</p:panel>  

  <p:panelGrid columns="2" style="margin-left:35%">
		 <p:commandButton ajax="false" action="#" style="margin-left:50%;margin-top: 20px" value="Cancelar"></p:commandButton>      
		 <p:commandButton ajax="false" action="#" style="margin-left:50%;margin-top: 20px" value="Salvar"></p:commandButton>      
</p:panelGrid>
</h:form>
	
	
	<h:outputStylesheet library="css" name="default.css" />
	
 </ui:define>
 </ui:composition>
